export default{
	friend:function(){
		let friends=[
			{
				id:1,
				imgurl:'yellowman.jpg',
				tip:2,
				name:'大眼萌',
				email:'1334534@qq.com',
				time:new Date(),
				news:'干饭人，干饭魂，一顿不干慌了神！'
			},
			{
				id:2,
				imgurl: 'wang.jpg',
				tip:3,
				name:'隔壁老王',
				email:'1334534@qq.com',
				time: new Date(),
				news:'翠花和我真的没有什么！你咋不相信我呢！'
			},
			{
				id:3,
				imgurl: 'dad.jpg',
				tip:1,
				name:'爸爸',
				email:'1334534@qq.com',
				time: new Date(),
				news:'今年不带个对象回来，你就别进家门啦！'
			},
			{
				id:4,
				imgurl: 'friend.jpg',
				tip:2,
				name:'死党',
				email:'1334534@qq.com',
				time: new Date(),
				news:'明天一起看电影去呗'
			},
			{
				id:5,
				imgurl: 'wang.jpg',
				tip:0,
				name:'沙diao',
				email:'1334534@qq.com',
				time: new Date(),
				news:'今年四级又挂科了，wuwuwuwu~~'
			},
			{
				id:6,
				imgurl: 'yellowman.jpg',
				tip:0,
				name:'小黄人',
				email:'1334534@qq.com',
				time: new Date(),
				news:'阿巴阿巴'
			}
		];
		return friends;
	},
	//好友表
	isfriend: function(){
		let isFriend = [
			{
				userid:1,
				friend:2
			},
			{
				userid:1,
				friend:4
			},
			{
				userid:1,
				friend:6
			}
		];
		return isFriend;
	},
	//聊天消息
	message: function(){
		//a为用户，b为好友；
		let msgs=[
			{
				id: "b",
				imgurl: "yellowman.jpg",
				message: {
					voice:'a',
					time: 2
				},
				types: 2,
				time: new Date()-1000,
				tip: -2,
			},
			{
				id: "a",
				imgurl: "dad.jpg",
				message: {
					voice:'a',
					time: 20
				},
				types: 2,
				time: new Date()-1000,
				tip: -1,
			},
			{
				id: "b",
				imgurl: "yellowman.jpg",
				message: "………",
				types: 0,
				time: new Date()-1000*60*9,
				tip: 0,
			},
			{
				id: "a",
				imgurl: "dad.jpg",
				message: "sad.jpg",
				types: 1,
				time: '2021/1/24 18:11:24',
				tip: 1,
			},
			{
				id: "b",
				imgurl: "yellowman.jpg",
				message: "爸，你清醒一点！房租水电要交不起啦！",
				types: 0,
				time: new Date()-1000*1000*120,
				tip: 2,
			},
			{
				id: "a",
				imgurl: "dad.jpg",
				message: "不装了，摊牌了。儿砸，其实咱家有千万家资！准备回家继承家产吧！",
				types: 0,
				time: new Date()-1000*160*160*16,
				tip: 3,
			},
		];
		return msgs;
	}
}